-
-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CMAKE_INSTALL_PREFIX #2482
Fix CMAKE_INSTALL_PREFIX #2482
Conversation
CI workflow needs approval to trigger |
What happens if you don't set CMAKE_INSTALL_PREFIX at all and let the default value be used? Feels weird to manually set |
Quality Gate passedIssues Measures |
@JonasVautherin it has to be You will have to add |
.github/workflows/main.yml
Outdated
@@ -246,7 +246,7 @@ jobs: | |||
sudo apt-get install -y ruby-dev | |||
sudo gem install --no-document fpm | |||
- name: configure | |||
run: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_MAVSDK_SERVER=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=install -DWERROR=ON -Bbuild/release -H. | |||
run: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_MAVSDK_SERVER=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/ -DWERROR=ON -Bbuild/release -H. | |||
- name: build | |||
run: cmake --build build/release --target install -- -j2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why this doesn't fail as it doesn't have sudo
.
Quality Gate passedIssues Measures |
forked + PR to test #2475